package com.example.viewpageapplication.entity;

import com.example.viewpageapplication.R;

import java.util.ArrayList;
import java.util.List;

public class BaseT {
    public int imagId;
    public String message;

    public BaseT(int imagId, String message) {
        this.imagId = imagId;
        this.message = message;
    }

    public static int[] Images = {R.drawable.start1,R.drawable.start2,R.drawable.start3};
    public static String[] messages = {"汤姆","杰克","米奇"};

    public static List<BaseT> getDefalutList(){
        List<BaseT> list = new ArrayList<BaseT>();
        for (int i = 0; i < Images.length; i++) {
            list.add(new BaseT(Images[i],messages[i]));
        }
        return list;
    }
}
